<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="lg"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="lg2"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/static/css/bootstrap.min.css">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/static/css/font.css">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/static/css/xadmin.css">
<script type="text/javascript"
	src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/static/lib/layui/layui.js"
	charset="utf-8">
	
</script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/static/js/xadmin.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/static/js/cookie.js"></script>
<!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
<!--[if lt IE 9]>
      <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
      <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>

<body>
	<div class="x-nav">
		查看合同
		<a type="button" class="layui-btn" href="javascript:location.replace(location.href);" title="刷新" 
			style="line-height: 1.6em; margin-top: 2px; margin-left:8px; float: right">
			<i class="layui-icon layui-icon-refresh"></i>刷新
		</a>
		<a type="button" class="layui-btn  layui-btn-warm" href="${pageContext.request.contextPath}/contracts/list" 
			style="line-height: 1.6em; margin-top: 2px; float: right">
			<i class="layui-icon layui-icon-return"></i>返回
		</a>
		<a class="layui-btn  layui-btn-normal" href="${pageContext.request.contextPath}/contracts/downloadContract?contractName=${contractName}" 
			style="line-height: 1.6em; margin-top: 2px; float: right">
			<i class="layui-icon layui-icon-download-circle"></i>下载
		</a>
	</div>
	<!-- 查询条件 -->
	<div class="x-body">
		<div class="layui-row">
			<div class="layui-col-md9">
      			<img alt="" src="${pageContext.request.contextPath}/${contractName}">
   			</div>
		</div>
	</div>

	


	<script type="text/javascript"
		src="${pageContext.request.contextPath}/static/js/jquery-1.12.3.min.js"></script>
	<script type="text/javascript"
		src="${pageContext.request.contextPath}/static/js/bootstrap.min.js"></script>
</body>
</html>